﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace SMTP.Test.Client.Commands
{
    public class InterfaceCommands
    {
        private static RoutedUICommand _sendemail;
        private static RoutedUICommand _savedefaults;
        private static RoutedUICommand _clearlog;
        private static RoutedUICommand _scanport;
        private static RoutedUICommand _pinghost;
        private static RoutedUICommand _pinghostforever;
        private static RoutedUICommand _cancelRequest;
        private static RoutedUICommand _dnsMXRecord;
        private static RoutedUICommand _dnsCNAMERecord;
        private static RoutedUICommand _dnsARecord;
        private static RoutedUICommand _addAttachment;
        private static RoutedUICommand _clearAttachment;

        static InterfaceCommands()
        {
            //InputGestureCollection ig = new InputGestureCollection();

            _sendemail = new RoutedUICommand("Send Email", "Send Email", typeof(InterfaceCommands));
            _savedefaults = new RoutedUICommand("Save Defaults", "Save Defaults", typeof(InterfaceCommands));
            _clearlog = new RoutedUICommand("Clear", "Clear", typeof(InterfaceCommands));
            _scanport = new RoutedUICommand("Scan Port", "Scan Port", typeof(InterfaceCommands));
            _pinghost = new RoutedUICommand("Ping Host", "Ping Host", typeof(InterfaceCommands));
            _pinghostforever = new RoutedUICommand("Ping Host Forever", "Ping Host Forever", typeof(InterfaceCommands));
            _cancelRequest = new RoutedUICommand("Cancel", "Cancel", typeof(InterfaceCommands));
            _dnsMXRecord = new RoutedUICommand("MX Records", "MX Records", typeof(InterfaceCommands));
            _dnsCNAMERecord = new RoutedUICommand("CNAME Records", "CNAME Records", typeof(InterfaceCommands));
            _dnsARecord = new RoutedUICommand("A Records", "A Records", typeof(InterfaceCommands));
            _addAttachment = new RoutedUICommand("Add File", "Add File", typeof(InterfaceCommands));
            _clearAttachment = new RoutedUICommand("Clear", "Clear", typeof(InterfaceCommands));
        }

        public static RoutedUICommand SendEmail
        {
            get { return _sendemail; }
        }

        public static RoutedUICommand SaveDefaults
        {
            get { return _savedefaults; }
        }

        public static RoutedUICommand ClearLog
        {
            get { return _clearlog; }
        }

        public static RoutedUICommand ScanPort
        {
            get { return _scanport; }
        }

        public static RoutedUICommand PingHost
        {
            get { return _pinghost; }
        }

        public static RoutedUICommand PingHostForever
        {
            get { return _pinghostforever; }
        }

        public static RoutedUICommand CancelRequest
        {
            get { return _cancelRequest; }
        }

        public static RoutedUICommand DNS_MXRecords
        {
            get { return _dnsMXRecord; }
        }

        public static RoutedUICommand DNS_CNAMERecords
        {
            get { return _dnsCNAMERecord; }
        }

        public static RoutedUICommand DNS_ARecords
        {
            get { return _dnsARecord; }
        }

        public static RoutedUICommand AddAttachment
        {
            get { return _addAttachment; }
        }

        public static RoutedUICommand ClearAttachment
        {
            get { return _clearAttachment; }
        }
    }
}
